<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="coinfaces">

        <title>Python从入门到精通</title>

    <link rel="stylesheet" href="../../theme/css/style.css">
    <link rel="stylesheet" href="../../theme/css/pygments.css">



</head>

<body>
    <div class="content">
<h1>Python从入门到精通</h1>    <p>
        under
            <a href="../../tags/python/">python</a>
            <a href="../../tags/reading/">reading</a>
    </p>
    <p>
        in <a href="../../categories/tech/">tech</a>
    </p>
    <p>Published: 2016-09-13</p>


    <p>Stackoverflow上有人询问<a class="reference external" href="http://stackoverflow.com/questions/2573135/python-progression-path-from-apprentice-to-guru">Python从入门到精通要经历的步骤</a>，其中票数最多的一条回答是这样的：</p>
<ul class="simple">
<li>了解list comprehension</li>
<li>了解generator</li>
<li>多使用map、reduce、filter、iter、range等内置函数</li>
<li>了解decorator</li>
<li>多写递归函数</li>
<li>了解itertools和functools模块</li>
<li>阅读<a class="reference external" href="http://book.realworldhaskell.org/read/">Real World Haskell</a></li>
<li>用高阶函数、递归函数重写旧的Python代码</li>
<li>拥抱函数式编程</li>
<li>重新发掘策略模式以及其它被函数式编程替代的imperative编程方式</li>
<li>在两者之间找到平衡点</li>
</ul>
<p>如果从语言特性或应用的角度回答，就因人而异，没有固定的答案。但这篇回答从编程范式的角度把大方向抓准了，是一篇很有意思的回答。</p>
<p>（完）</p>

    </div>
<nav class="nav sidebar">
    <div class="siteinfo">
        <div class="sitename"><a href="../..">coinfaces</a></div>
        <div class="tagline">Another Side of Life</div>
    </div>

        <a href="../../categories/">categories</a>
        <a href="../..">&larr; Home</a>
</nav><footer class="footer">
    <span>
        &copy; jpli &middot;
        under <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a>
    </span>
    |
    <span>
        Powered by:
        <a href="http://blog.getpelican.com/">Pelican</a>
    </span>
</footer></body>
</html>